package com.talkyun.openx.server.codec;

import javax.servlet.http.HttpServletRequest;

public class AbstractCodec {

    protected String getSessionId(HttpServletRequest req) {
        return req.getSession().getId();
    }

    protected boolean isBlank(String args) {
        return args == null || args.trim().length() == 0;
    }
}